<template>
	<view class="send">
		<u-input v-model="content" :height="120" :clearable="false" type="textarea" :border="false"
			placeholder="分享新鲜事..." />

		<!-- 上传图片 -->
		<!-- <u-upload :action="action" :file-list="fileList"></u-upload> -->
		<u-upload></u-upload>
		
		<view class="ubutton">
			<u-button type="primary">发布</u-button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content: ''

				// 服务器上传地址
				// action: 'http://www.example.com/upload',

				// 图片列表
				// fileList: [{
				// 	url: 'http://pics.sc.chinaz.com/files/pic/pic9/201912/hpic1886.jpg',
				// }]
			}
		},
		methods: {

		}
	}
</script>

<style>
	.u-input {
		margin: 15px;
	}
	.ubutton {
		width: 100%;
		position: fixed;
		bottom: 6px;
	}
</style>
